package com.start.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.start.common.entity.StartBaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(name = "SysLog", description = "系统日志")
@TableName("start_log")
public class StartLogEntity extends StartBaseEntity {
    @Schema(name = "请求路径")
    private String path;
    @Schema(name = "标题")
    private String title;
    @Schema(name = "描述")
    private String action;
    @Schema(name = "请求参数")
    private String requestParameter;
    @Schema(name = "源方法")
    private String sourceMethod;
    @Schema(name = "日志类型", description = "日志类型 0 用户访问日志 1系统日志 2定时任务日志 3 系统异常日志  -1用户登录 -2 用户退出登录 ")
    private Integer logType;
    @Schema(name = "请求ip地址")
    private String requestIp;
    @Schema(name = "请求类型")
    private String requestMethod;

}
